<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common.jsp" %>
<div class="pageContent" >
	<form id="form" method="post" action="${ctxPath}/sys/sysUser/edit" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="60">
			<input type="hidden" name="navTabId" value="yhgl">
			<input type="hidden" name="callbackType" value="closeCurrent">
			<input type="hidden" name="forwardUrl" value="">
			<input type="hidden" name="id" value="${entity.id }">

			<p>
				<label>登录账号：</label>
				<input type="text" name="loginName" class="required" alt="请输入您的登录账号" maxlength="10" size="25" value="${entity.loginName }" readonly="readonly"/>
			</p>
			<p>
				<label>真实姓名：</label>
				<input type="text" name="realName" class="required" alt="请输入您的真实姓名" size="25" maxlength="12" value="${entity.realName }"/>
			</p>
			<p>
				<label>手机号：</label>
				<input type="text" name="phone" class="number"  alt="只能是11位的数字" size="25" maxlength="11" value="${entity.phone }"/>
			</p>
			<p>
				<label>性别：</label>
				<select class="combox" name="sex" id="combox_sex">
					<option value="0" <c:if test="${entity.sex==0 }">selected="selected"</c:if>>未知</option>
					<option value="1" <c:if test="${entity.sex==1 }">selected="selected"</c:if>>男</option>
					<option value="2" <c:if test="${entity.sex==2 }">selected="selected"</c:if>>女</option>
				</select>
			</p>
			<p>
				<label>出生日期：</label>
				<input type="text" name="birthday" class="date" dateFmt="yyyy-MM-dd" readonly="true" maxDate="{%y}-%M-{%d}" value="${entity.birthday }"/>
				<a class="inputDateButton" href="javascript:;">选择</a>
<!-- 				<span class="info">yyyy-MM-dd HH:mm:ss</span>				 -->
			</p>
			<p>
				<label>状态：</label>
				<select class="combox" name="status" id="combox_status">
					<option value="0" <c:if test="${entity.status==0 }">selected="selected"</c:if>>启用</option>
					<option value="1" <c:if test="${entity.status==1 }">selected="selected"</c:if>>禁用</option>
				</select>
			</p>
			<p>
				<label>备注：</label>
				<textarea name="remark" cols="40" rows="4">${entity.remark }</textarea>
			</p>

		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">保存</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>
